package org.volicy.mysql.schema.configuration;

public class SchemaContextHolder {
    private static final ThreadLocal<String> contextHolder = new ThreadLocal<>();
    public static void setSchemaType(String schemaName) {
        contextHolder.set(schemaName);
    }
    public static String getSchemaType() {
        return contextHolder.get();
    }
    public static void removeSchemaType() {
        contextHolder.remove();
    }
}